﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ZKLibrarys.Models
{
    /// <summary>
    /// 考勤机中读取的单条记录模型
    /// </summary>
    public class ModelGLog
    {
        /// <summary>
        /// 机器号(IN)
        /// </summary>
        public int MachineNumber { get; set; }

        /// <summary>
        /// 记录的用户ID号
        /// </summary>
        public string EnrollNumber { get; set; }

        /// <summary>
        /// 记录的验证方式
        /// </summary>
        public int VerifyMode { get; set; }

        /// <summary>
        /// 记录的考勤状态
        /// </summary>
        public int InOutMode { get; set; }

        /*        /// <summary>
                /// 记录的年份
                /// </summary>
                public int Year { get; set; }

                /// <summary>
                /// 记录的月份
                /// </summary>
                public int Month { get; set; }

                /// <summary>
                /// 记录的日期
                /// </summary>
                public int Day { get; set; }

                /// <summary>
                /// 记录的小时
                /// </summary>
                public int Hour { get; set; }

                /// <summary>
                /// 记录的分钟
                /// </summary>
                public int Minute { get; set; }

                /// <summary>
                /// 记录的秒钟
                /// </summary>
                public int Second { get; set; }*/

        /// <summary>
        /// 记录的日期时间
        /// </summary>
        public DateTime dateTime { get; set; }
        /// <summary>
        /// 记录的WorkCode
        /// </summary>
        public int WorkCode { get; set; }

        /// <summary>
        /// 考勤机IP地址
        /// </summary>
        public string IPAddress { get; set; }
    }
}
